|
In theoretical computer science and mathematical logic a string rewriting system (SRS), historically called a semi-Thue system, is a rewriting system over strings from a (usually finite) alphabet. Given a binary relation between fixed strings over the alphabet, called rewrite rules, denoted by , an SRS extends the rewriting relation to all strings in which the left- and right-hand side of the rules appear as substrings, that is , where , , , and are strings. The notion of a semi-Thue system essentially coincides with the presentation of a monoid. Thus they constitute a natural framework for solving the word problem for monoids and groups. An SRS can be defined directly as an abstract rewriting system. It can also be seen as a restricted kind of a term rewriting system. As a formalism, string rewriting systems are Turing complete. The semi-Thue name comes from the Norwegian mathematician Axel Thue, who introduced systematic treatment of string rewriting systems in a 1914 paper.〔Book and Otto, p. 36〕 Thue introduced this notion hoping to solve the word problem for finitely presented semigroups. It wasn't until 1947 the problem was shown to be undecidable— this result was obtained independently by Emil Post and A. A. Markov Jr.〔Abramsky et al. p. 416〕〔Salomaa et al., p.444〕 ==Definition== A string rewriting system or semi-Thue system is a tuple where * is an alphabet, usually assumed finite.〔In Book and Otto a semi-Thue system is defined over a finite alphabet through most of the book, except chapter 7 when monoid presentation are introduced, when this assumption is quietly dropped.〕 The elements of the set ( * is the Kleene star here) are finite (possibly empty) strings on , sometimes called ''words'' in formal languages; we will simply call them strings here. * is a binary relation on strings from , i.e., Each element is called a ''(rewriting) rule'' and is usually written . If the relation is symmetric, then the system is called a Thue system. The rewriting rules in can be naturally extended to other strings in by allowing substrings to be rewritten according to . More formally, the one-step rewriting relation relation is a relation on , the pair (e.g. (see abstract rewriting system#Basic notions). This is called the rewriting relation or reduction relation on induced by . 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Semi-Thue system」の詳細全文を読む スポンサード リンク
|